vulkan: Add fallback message for node-as-texture
authorBenjamin Otte <otte@redhat.com>
Tue, 17 Jan 2017 05:38:36 +0000 (06:38 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 17 Jan 2017 05:38:36 +0000 (06:38 +0100)
This is mainly to motivate me to implement it.

gsk/gskvulkanrenderpass.c

index 619a1172b30c33d3ce9026651f8109838db73a57..4d2d50270f5d41785c5f89b3e8ae2336bb4aeae4 100644 (file)
@@ -369,6 +369,10 @@ gsk_vulkan_render_pass_get_node_as_texture (GskVulkanRenderPass   *self,
         }
     }
 
+  GSK_NOTE (FALLBACK, g_print ("Node as texture not implemented. Using %gx%g fallback surface\n",
+                               ceil (bounds->size.width),
+                               ceil (bounds->size.height)));
+
   /* XXX: We could intersect bounds with clip bounds here */
   surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
                                         ceil (bounds->size.width),